package br.com.yk.client.services;

import java.util.List;

import br.com.siam.pojo.Device;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * 
 */
public interface DeviceServiceAsync {
	
	void createDevice(String name, AsyncCallback<Device> callback) throws IllegalArgumentException;

	void findDevices(AsyncCallback<List<Device>> callback) throws IllegalArgumentException;
}
